#if !defined(AFX_DLGSEARCH_H__6E1B90F2_88F1_4C54_92AF_81FEF9084596__INCLUDED_)
#define AFX_DLGSEARCH_H__6E1B90F2_88F1_4C54_92AF_81FEF9084596__INCLUDED_

#include "SOURCE\BtnST.h"	// Added by ClassView
#include "SOURCE\CJFlatComboBox.h"	// Added by ClassView
#include "SOURCE\HotEdit.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgSearch.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgSearch dialog

class CDlgSearch : public CDialog
{
// Construction
public:
	~CDlgSearch();
	CDlgSearch(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgSearch)
	enum { IDD = IDD_DLG_SQL };
	CTime	m_dateBegin;
	CTime	m_dateEnd;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgSearch)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgSearch)
	virtual BOOL OnInitDialog();
	afx_msg void OnSearch();
	afx_msg void OnRdoExact();
	afx_msg void OnRdoInexact();
	afx_msg void OnChkFlow();
	afx_msg void OnChkPurpose();
	afx_msg void OnChkOwner();
	afx_msg void OnChkDate();
	afx_msg void OnSelchangeCmbFlow();
	afx_msg void OnRdoLess();
	afx_msg void OnRdoEqual();
	afx_msg void OnRdoMore();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	INT m_iCompare;		// -1, 0, 1 : less, equal, more
	CHotEdit m_edAccount;
	CHotEdit m_edComment;
	CCJFlatComboBox m_cmbOwner;
	CCJFlatComboBox m_cmbPurpose;
	CCJFlatComboBox m_cmbFlow;
	BOOL m_bExactMatch;
	CButtonST m_btnQuit;
	CButtonST m_btnSearch;
	_RecordsetPtr m_pRecordset;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGSEARCH_H__6E1B90F2_88F1_4C54_92AF_81FEF9084596__INCLUDED_)
